# -*- coding: utf-8 -*-
from datetime import timedelta
from airflow.operators.bash import BashOperator
from jms.dm.dm_cn_export_pro_aging_data_t1 import jms_dm__dm_cn_export_pro_aging_data_t1
export_prescription_taking_wentai_oss = BashOperator(
    task_id='export_prescription_taking_wentai_oss',
    email=['shenjiaming@jtexpress.com','yl_bigdata@yl-scm.com'],
    pool='unlimited_pool',
    bash_command='jms/oss/export_prescription_taking_wentai_oss/execute.sh',
    execution_timeout=timedelta(minutes=50) 
)

export_prescription_taking_wentai_oss << [
    jms_dm__dm_cn_export_pro_aging_data_t1
]
